package com.lightjet.macross.base.awf.domain;

import com.lightjet.macross.common.core.IntKeyBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author : lijia
 * @version : 1.0 2019-02-15 16:16
 * description :业务表单索引信息
 */
@Entity
@Table(name="BIZ_FORMINDEX")
@Getter
@Setter
@NoArgsConstructor
@ApiModel(description = "流程索引配置实体表")
public class BizFormIndex extends IntKeyBaseEntity {

    public BizFormIndex(Integer id)
    {
        super(id);
    }

    //流程定义ID
    @ApiModelProperty(value = "流程定义ID")
    private String procinstdefId;

    //索引名称
    @ApiModelProperty(value = "索引名称")
    private String indexname;

    //索引显示名称
    @ApiModelProperty(value = "索引显示名称")
    private String indexdisplayname;

    //索引path
    @ApiModelProperty(value = "索引path")
    private String indexpath;

    //索引排序值
    @ApiModelProperty(value = "索引排序值")
    private Integer sort=0;


    @ApiModelProperty(value = "索引列显示宽度")
    private Integer displaywidth;

    //备注信息
    @ApiModelProperty(value = "备注信息")
    private String memo;

    //转换格式 map|{}
    @ApiModelProperty(value = "转换格式 map|{}")
    @Column(length = 1000)
    private String pattern;
}
